#!/usr/local/bin/python
# -*- coding: utf-8 -*-

import os
from kernel.base.network import movieconn
from config import conf

#取得当前路径
curpath=os.path.normpath(os.path.join(os.getcwd(),os.path.dirname(__file__)))
policypath=os.path.join(curpath,conf.get("POLICY"))

if(__name__=="__main__"):
    gc=movieconn()
    gc.conn(conf.get("IP"), int(conf.get("POST")), 843,policypath)
